Imports DevExpress.XtraGrid
Imports DevExpress.XtraGrid.Views.Base
Imports DevExpress.XtraGrid.Views.Base.Handler
Imports DevExpress.XtraGrid.Views.Base.ViewInfo
Imports DevExpress.XtraGrid.Registrator

Public Class MyGridViewInfoRegistrator
    Inherits GridInfoRegistrator

    Public Overrides ReadOnly Property ViewName() As String
        Get
            Return "MyGridView"
        End Get
    End Property

    Public Overrides Function CreateView(ByVal grid As GridControl) As BaseView
        Return New IGridView(grid)
    End Function

    Public Overrides Function CreateViewInfo(ByVal view As BaseView) As BaseViewInfo
        Return New IGridViewInfo(view)
    End Function

    Public Overrides Function CreateHandler(ByVal view As BaseView) As BaseViewHandler
        Return New IGridHandler(view)
    End Function
End Class
